<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            padding:0;
            margin:0;
        }
        .clock{
            position: relative;
            width:300px;
            height:300px;
            border:1px solid #ccc;
            border-radius:50%;
            margin:100px auto;
            position: relative;
        }
        .line{
            position: absolute;
            width:8px;
            height:300px;
            background-color:#ccc;
            left:50%;
            transform: translate(-50%,0);

        }
        .line2{
         
            transform:rotate(30deg);
        }
        .line3{
         
         transform:rotate(60deg);
     }
     .line4{
         
         transform:rotate(90deg);
     }
     .line5{
         
         transform:rotate(120deg);
     }
     .line6{
         
         transform:rotate(150deg);
     }
     .cover{
         position:absolute;
         width:250px;
         height:250px;
         border-radius: 50%;
         background-color: #fff;
         left:50%;
         top:50%;
         transform:translate(-50%,-50%) ;
     }
     .hour{
         position: absolute;
         width:8px;
         height:70px;
         background-color:red;
         left:50%;
         top:50%;
         transform:translate(-50%,-100%);
         transform-origin: center bottom;
         animation: clockAnimation 43200s linear infinite;
     }
     .mintue{
          position: absolute;
          width:6px;
          height: 80px;
          background-color: green;
          left:50%;
          top:50%;
          transform: translate(-50%,-100%);
          transform-origin: center bottom;
          animation: clockAnimation 3600s linear infinite;
     }
     .s{
         position: absolute;
         width:2px;
         height:90px;
         background-color:blue;
         left:50%;
         top:50%;
         transform:translate(-50%,-100%);
         transform-origin:center bottom;
         animation: clockAnimation 60s infinite steps(60);
     }
     .center{
         position: absolute;

         width:30px;
         height:30px;
         border-radius: 50%;
         background-color:#ccc;
         left:50%;
         top:50%;
         transform: translate(-50%,-50%);
     }
     @keyframes clockAnimation{
         from{
             transform:translate(-50%,-100%)
             rotate(0deg);
         }
         to{
             transform:translate(-50%,-100%)
             rotate(360deg);
         }
     }
    </style>
</head>
<body>
    <div class="clock">
        <div class="line line1"></div>
        <div class="line line2"></div>
        <div class="line line3"></div>
        <div class="line line4"></div>
        <div class="line line5"></div>
        <div class="line line6"></div>
        <div class="cover"></div>
        <div class="hour"></div>
        <div class="mintue"></div>
        <div class="s"></div>
        <div class="center"></div>
    </div>
</body>
</html>